package com.nongtai.pojo.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author yza
 * @version 1.0
 * @date 2024/6/2 10:14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GoodsCategoryVo implements Serializable {

    private Long id;

    private String name;

    private String picture;

    private List<GoodsCategoryVo> children = new ArrayList<>();

    private List<GoodsVo> goods = new ArrayList<>();
}
